<?php

/**
 * =========================================================================
 * 错误码使用规则
 * 错误码：20050 至 20200 预留给Laravel Validation验证使用
 * 当前已使用至：20115
 *
 * =========================================================================
 */

return [

    /*
    |--------------------------------------------------------------------------
    | Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines contain the default error messages used by
    | the validator class. Some of these rules have multiple versions such
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'accepted'             => '20050|:attribute必须被接受',
    'active_url'           => '20051|:attribute不是有效的URL',
    'after'                => '20052|:attribute必须是:date之后的日期',
    'after_or_equal'       => '20053|:attribute必须是大于或等于:date的日期',
    'alpha'                => '20054|:attribute只能包含字母',
    'alpha_dash'           => '20055|:attribute只能包含字母，数字及破折号',
    'alpha_num'            => '20056|:attribute只能包含字母和数字',
    'array'                => '20057|:attribute必须是一个数组',
    'before'               => '20058|:attribute必须是:date之前的日期',
    'before_or_equal'      => '20059|:attribute必须是小于或等于:date的日期',
    'between'              => [
        'numeric' => '20060|:attribute必须介于:min和:max之间',
        'file'    => '20061|:attribute必须介于:min和:maxK之间',
        'string'  => '20062|:attribute必须介于:min和:max字符之间',
        'array'   => '20063|:attribute必须介于:min和:max之间',
    ],
    'boolean'              => '20064|:attribute字段必须是真或假',
    'confirmed'            => '20065|:attribute确认不匹配',
    'date'                 => '20066|:attribute不是一个有效日期',
    'date_format'          => '20067|:attribute不匹配格式:format',
    'different'            => '20068|:attribute和:other必须是不同的',
    'digits'               => '20069|:attribute必须是:digits位数',
    'digits_between'       => '20070|:attribute必须介于:min和:max位数',
    'dimensions'           => '20071|:attribute具有无效的图像尺寸',
    'distinct'             => '20072|:attribute字段具有重复的值',
    'email'                => '20073|:attribute必须是一个有效的电子邮件地址',
    'exists'               => '20074|所选择的:attribute不存在',
    'file'                 => '20075|:attribute必须是一个文件',
    'filled'               => '20076|:attribute字段是必需的',
    'image'                => '20077|:attribute必须是图像',
    'in'                   => '20078|所选择的:attribute无效',
    'in_array'             => '20079|:attribute字段不存在:other',
    'integer'              => '20080|:attribute必须是整数',
    'ip'                   => '20081|:attribute必须是一个有效的IP地址',
    'ipv4'                 => '20082|:attribute必须是一个有效的IPv4地址',
    'ipv6'                 => '20083|:attribute必须是一个有效的IPv6地址',
    'json'                 => '20084|:attribute必须是一个有效的JSON字符串',
    'max'                  => [
        'numeric' => '20085|:attribute不得大于:max',
        'file'    => '20086|:attribute不得大于:maxK',
        'string'  => '20087|:attribute不得大于:max字符',
        'array'   => '20088|:attribute不得超出:max',
    ],
    'mimes'                => '20089|:attribute类型必须是::values文件类型',
    'mimetypes'            => '20090|:attribute必须是一个类型的文件::values',
    'min'                  => [
        'numeric' => '20091|:attribute必须至少为:min',
        'file'    => '20092|:attribute必须至少为:minK',
        'string'  => '20093|:attribute必须至少为:min字符',
        'array'   => '20094|:attribute必须不能超出:min',
    ],
    'not_in'               => '20095|选项:attribute无效',
    'numeric'              => '20096|:attribute必须是数字',
    'present'              => '20097|:attribute字段必须存在',
    'regex'                => '20098|:attribute格式无效',
    'required'             => '20099|:attribute不能为空',
    'required_if'          => '20100|:attribute必填当:other是:value',
    'required_unless'      => '20101|:attribute必填，除非:other介于:values',
    'required_with'        => '20102|:attribute不能为空当:values存在',
    'required_with_all'    => '20103|:attribute不能为空当:values存在',
    'required_without'     => '20104|:attribute不能为空当:values不存在',
    'required_without_all' => '20105|:attribute不能为空当:values不存在',
    'same'                 => '20106|:attribute和:other必须匹配',
    'size'                 => [
        'numeric' => '20107|:attribute必须是:size',
        'file'    => '20108|:attribute必须是:sizeK',
        'string'  => '20109|:attribute必须是:size字符',
        'array'   => '20110|:attribute必须包含:size',
    ],
    'string'               => '20111|:attribute必须是一个字符串',
    'timezone'             => '20112|:attribute必须是一个有效的时区',
    'unique'               => '20113|:attribute已存在',
    'uploaded'             => '20114|:attribute上传失败',
    'url'                  => '20115|:attribute格式无效',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | Here you may specify custom validation messages for attributes using the
    | convention "attribute.rule" to name the lines. This makes it quick to
    | specify a specific custom language line for a given attribute rule.
    |
    */

    'custom' => [
        'attribute-name' => [
            'rule-name' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | The following language lines are used to swap attribute place-holders
    | with something more reader friendly such as E-Mail Address instead
    | of "email". This simply helps us make messages a little cleaner.
    |
    */

    'attributes' => [],

];
